package com.zh.rxharmony.sample.util.rx;

import com.zh.rxharmony.sample.util.rx.scheduler.BaseRxScheduler;
import com.zh.rxharmony.sample.util.rx.scheduler.IoMainScheduler;

public class RxSchedulerUtil {
    private RxSchedulerUtil() {
    }

    /**
     * 子线程转主线程
     */
    public static <T> BaseRxScheduler<T> ioToMain() {
        //鸿蒙线程调度器
        return new IoMainScheduler<>();
    }
}